import React, { useState } from "react";

export default function Button() {
  const [count, setCount] = useState(0);

  function handleClick() {
    setCount((n) => n + 1);
  }
  return (
    <>
      <button onClick={handleClick}>button1: {count}</button>
    </>
  );
}
